﻿using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Domain.Entities;
using Volo.Abp.MultiTenancy;

namespace Himp.Erp
{
    /// <summary>
    /// 采购计划明细
    /// </summary>
    public class PurcPlanDetl : Entity<Guid>, IMultiTenant
    {
        public Guid PurcPlanRecId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public PurcPlanRec PurcPlanRec { get; set; }

        /// <summary>
        /// 物料信息Id
        /// </summary>
        public Guid MaterialInfoId { get; set; }

        /// <summary>
        /// 物料信息
        /// </summary>
        public MatlInfo MaterialInfo { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal Cnt { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal Pric { get; set; }

        /// <summary>
        /// 计划付款金额
        /// </summary>
        public decimal PlanPayAmount { get; set; }

        /// <summary>
        /// 计划到货时间
        /// </summary>
        public DateTime? PlanArrivalTime { get; set; }

        /// <summary>
        /// 采购模式
        /// </summary>
        public int PurcMode { get; set; }

        /// <summary>
        /// 结算方式
        /// </summary>
        public int SetlMethod { get; set; }

        /// <summary>
        /// 付款方式
        /// </summary>
        public int PayMethod { get; set; }

        /// <summary>
        /// 验收方式
        /// </summary>
        public int AcceptanceMethod { get; set; }

        public string? Exp { get; set; }

        public Guid? TenantId { get; set; }
    }
}
